import request from '@/utils/request'

// 标记为已读
export function markAsRead(data) {
  return request({
    url: '/user/read-status/mark-read',
    method: 'post',
    params: data
  })
}

// 获取用户阅读状态
export function getUserReadStatus(userId, params) {
  return request({
    url: `/user/read-status/user/${userId}`,
    method: 'get',
    params
  })
} 